USE [DataBase]
GO

/****** Object:  Table [dbo].[TeacherTable]    Script Date: 04/11/2011 21:34:38 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[TeacherTable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UploadCode] [nvarchar](50) NULL,
	[AuthCode] [nvarchar](50) NULL,
	[LoginCode] [nvarchar](50) NOT NULL,
	[Name] [nvarchar](20) NOT NULL,
	[School] [nvarchar](50) NOT NULL,
	[Introduce] [text] NULL,
	[Link] [nvarchar](50) NULL,
	[pNumber] [nvarchar](20) NULL,
	[Email] [nvarchar](50) NULL,
	[RootID] [int] NOT NULL,
 CONSTRAINT [PK_TeacherTable] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

